using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Core;
using System.Collections;

namespace Yuanlin.Business
{
     public class PlantSection_ThreadRequest : TEntityRequest<PlantSection_Thread>
    {
         public PlantSection_ThreadRequest()
        {
            int? entityId = GetParameterValue<int?>(YuanlinParameterName.PlantSectionThreadId);
            if (entityId.HasValue)
            {
                EntityId = entityId.Value;
            }
        }
    }
    public class PlantSection_ThreadListRequest : TEntityListRequest<PlantSection_Thread>
    {
        private int? sectionId = GetParameterValue<int?>(YuanlinParameterName.SectionId);
        private int? authorId = GetParameterValue<int?>(YuanlinParameterName.AuthorId);
        private int? replierId = GetParameterValue<int?>(YuanlinParameterName.ReplierId);
        private string tags = GetParameterValue<string>(YuanlinParameterName.Tags);
        private string subject = GetParameterValue<string>(YuanlinParameterName.Subject);
        private int? threadStatus = GetParameterValue<int?>(YuanlinParameterName.ThreadStatus);
        private int? categoryType = GetParameterValue<int?>(YuanlinParameterName.CategoryType);
        private int? categoryId = GetParameterValue<int?>(YuanlinParameterName.CategoryId);

        public int? SectionId
        {
            get
            {
                return sectionId;
            }
            set
            {
                sectionId = value;
            }
        }
        public int? AuthorId
        {
            get
            {
                return authorId;
            }
            set
            {
                authorId = value;
            }
        }
        public int? ReplierId
        {
            get
            {
                return replierId;
            }
            set
            {
                replierId = value;
            }
        }
        public string Tags
        {
            get
            {
                return tags;
            }
            set
            {
                tags = value;
            }
        }
        public string Subject
        {
            get
            {
                return subject;
            }
            set
            {
                subject = value;
            }
        }
        public int? ThreadStatus
        {
            get
            {
                return threadStatus;
            }
            set
            {
                threadStatus = value;
            }
        }
        public int? CategoryType
        {
            get
            {
                return categoryType;
            }
            set
            {
                categoryType = value;
            }
        }
        public int? CategoryId
        {
            get
            {
                return categoryId;
            }
            set
            {
                categoryId = value;
            }
        }
    }
    public class PlantSection_ThreadReply : EntityReply
    {
    }
}